// EndPort.h: interface for the EndPort class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ENDPORT_H__8E290AF2_8057_48B0_BC64_8BCE63B46A64__INCLUDED_)
#define AFX_ENDPORT_H__8E290AF2_8057_48B0_BC64_8BCE63B46A64__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

namespace PDMS
{
	namespace PDMSDomain
	{
		class EndType;
		
		class DllExport EndPort  
		{
		public:
			/*
			EndPort() {
			}*/
			EndPort( const UeGePoint3d& ptEndPosition,
					 const UeGeVector3d& vEndDirection,
					 const StdString& strEndtype );
			virtual ~EndPort();
			void SetPosition( const UeGePoint3d& ptEndPosition );
			void SetDirection( const UeGeVector3d& vEndDirection );

			const UeGePoint3d& GetPosition( );
			const UeGeVector3d& GetDirection();
			
			BOOL IsEndTypeMatchingWith( const EndPort& otherEndPort );

		private:
			void SetEndType( const StdString& strEndType );

		private:
			UeGePoint3d m_ptPosition;
			UeGeVector3d m_vDirection;
			EndType* m_pEndType;
		};
	}
}



#endif // !defined(AFX_ENDPORT_H__8E290AF2_8057_48B0_BC64_8BCE63B46A64__INCLUDED_)











































